package com.carkeeper.servcieManagement.service.impl;

import com.carkeeper.servcieManagement.dao.ServiceDetailMapper;
import com.carkeeper.servcieManagement.service.ServiceDetailService;
import com.carkeeper.serviceManagement.pojo.ServiceDetail;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author pengjinxiong
 * @version 1.0
 * @date 2020/11/25 15:07
 */
public class ServiceDetailServiceImpl implements ServiceDetailService {
    @Autowired
    private ServiceDetailMapper serviceDetailMapper;

    @Override
    public ServiceDetail findByDetailId(Long detailId) {
        return serviceDetailMapper.selectByPrimaryKey(detailId);
    }
}
